package com.prime.tutorial.moviestore.dao;

import com.prime.tutorial.moviestore.domain.Device;
import com.prime.tutorial.moviestore.domain.DevicePort;
import com.prime.tutorial.moviestore.domain.Port;

import java.util.List;


public interface DevicePortDAO extends GenericDAO<DevicePort, Long> {

    public List<DevicePort> findByPort(Port port);

    public List<DevicePort> findByDevice(Device device);    

}